package com.fqgj.xjd.user.client.request;

import com.fqgj.xjd.user.client.enums.RewardTypeEnum;
import com.fqgj.xjd.user.client.enums.UserRewardEnum;

import java.io.Serializable;

/**
 * @program: cashmama-user
 * @description
 * @author: frank
 * @create: 2020-04-14 11:54
 **/
public class UserLevelRequest implements Serializable {
    private static final long serialVersionUID = -5301542508368372322L;

    private String userCode;
    /**
     * 积分
     */
    private Integer score;
    /**
     * 权益-金额
     */
    private Integer reward;
    /**
     * 权益类型
     * @see UserRewardEnum
     */
    private Integer type;
    /**
     * 权益类型
     * @see RewardTypeEnum
     */
    private Integer rewardType;
    /**
     * 订单号
     */
    private String tradeNo;

    public String getTradeNo() {
        return tradeNo;
    }

    public UserLevelRequest setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
        return this;
    }

    public Integer getRewardType() {
        return rewardType;
    }

    public UserLevelRequest setRewardType(Integer rewardType) {
        this.rewardType = rewardType;
        return this;
    }

    public Integer getType() {
        return type;
    }

    public UserLevelRequest setType(Integer type) {
        this.type = type;
        return this;
    }

    public String getUserCode() {
        return userCode;
    }

    public UserLevelRequest setUserCode(String userCode) {
        this.userCode = userCode;
        return this;
    }

    public Integer getScore() {
        return score;
    }

    public UserLevelRequest setScore(Integer score) {
        this.score = score;
        return this;
    }

    public Integer getReward() {
        return reward;
    }

    public UserLevelRequest setReward(Integer reward) {
        this.reward = reward;
        return this;
    }
}
